home *** CD-ROM | disk | FTP | other *** search
/ Programming Windows 95 / Programming Windows 95.iso / code / CHAP03 / SYSMETS.H next >
C/C++ Source or Header  |  1995-12-31  |  4KB  |  61 lines

  1. /*-----------------------------------------------
  2.    SYSMETS.H -- System metrics display structure
  3.   -----------------------------------------------*/
  4.  
  5. #define NUMLINES ((int) (sizeof sysmetrics / sizeof sysmetrics [0]))
  6.  
  7. struct
  8. {
  9. int  iIndex ;
  10. char *szLabel ;
  11. char *szDesc ;
  12. }
  13. sysmetrics [] =
  14. {
  15. SM_CXSCREEN,          "SM_CXSCREEN",          "Screen width in pixels",
  16. SM_CYSCREEN,          "SM_CYSCREEN",          "Screen height in pixels",
  17. SM_CXVSCROLL,         "SM_CXVSCROLL",         "Vertical scroll arrow width",
  18. SM_CYHSCROLL,         "SM_CYHSCROLL",         "Horizontal scroll arrow height",
  19. SM_CYCAPTION,         "SM_CYCAPTION",         "Caption bar height",
  20. SM_CXBORDER,          "SM_CXBORDER",          "Window border width",
  21. SM_CYBORDER,          "SM_CYBORDER",          "Window border height",
  22. SM_CXDLGFRAME,        "SM_CXDLGFRAME",        "Dialog window frame width",
  23. SM_CYDLGFRAME,        "SM_CYDLGFRAME",        "Dialog window frame height",
  24. SM_CYVTHUMB,          "SM_CYVTHUMB",          "Vertical scroll thumb height",
  25. SM_CXHTHUMB,          "SM_CXHTHUMB",          "Horizontal scroll thumb width",
  26. SM_CXICON,            "SM_CXICON",            "Icon width",
  27. SM_CYICON,            "SM_CYICON",            "Icon height",
  28. SM_CXCURSOR,          "SM_CXCURSOR",          "Cursor width",
  29. SM_CYCURSOR,          "SM_CYCURSOR",          "Cursor height",
  30. SM_CYMENU,            "SM_CYMENU",            "Menu bar height",
  31. SM_CXFULLSCREEN,      "SM_CXFULLSCREEN",      "Full screen client area width",
  32. SM_CYFULLSCREEN,      "SM_CYFULLSCREEN",      "Full screen client area height",
  33. SM_CYKANJIWINDOW,     "SM_CYKANJIWINDOW",     "Kanji window height",
  34. SM_MOUSEPRESENT,      "SM_MOUSEPRESENT",      "Mouse present flag",
  35. SM_CYVSCROLL,         "SM_CYVSCROLL",         "Vertical scroll arrow height",
  36. SM_CXHSCROLL,         "SM_CXHSCROLL",         "Horizontal scroll arrow width",
  37. SM_DEBUG,             "SM_DEBUG",             "Debug version flag",
  38. SM_SWAPBUTTON,        "SM_SWAPBUTTON",        "Mouse buttons swapped flag",
  39. SM_RESERVED1,         "SM_RESERVED1",         "Reserved",
  40. SM_RESERVED2,         "SM_RESERVED2",         "Reserved",
  41. SM_RESERVED3,         "SM_RESERVED3",         "Reserved",
  42. SM_RESERVED4,         "SM_RESERVED4",         "Reserved",
  43. SM_CXMIN,             "SM_CXMIN",             "Minimum window width",
  44. SM_CYMIN,             "SM_CYMIN",             "Minimum window height",
  45. SM_CXSIZE,            "SM_CXSIZE",            "Minimize/Maximize icon width",
  46. SM_CYSIZE,            "SM_CYSIZE",            "Minimize/Maximize icon height",
  47. SM_CXFRAME,           "SM_CXFRAME",           "Window frame width",
  48. SM_CYFRAME,           "SM_CYFRAME",           "Window frame height",
  49. SM_CXMINTRACK,        "SM_CXMINTRACK",        "Minimum window tracking width",
  50. SM_CYMINTRACK,        "SM_CYMINTRACK",        "Minimum window tracking height",
  51. SM_CXDOUBLECLK,       "SM_CXDOUBLECLK",       "Double click x tolerance",
  52. SM_CYDOUBLECLK,       "SM_CYDOUBLECLK",       "Double click y tolerance",
  53. SM_CXICONSPACING,     "SM_CXICONSPACING",     "Horizontal icon spacing",
  54. SM_CYICONSPACING,     "SM_CYICONSPACING",     "Vertical icon spacing",
  55. SM_MENUDROPALIGNMENT, "SM_MENUDROPALIGNMENT", "Left or right menu drop",
  56. SM_PENWINDOWS,        "SM_PENWINDOWS",        "Pen extensions installed",
  57. SM_DBCSENABLED,       "SM_DBCSENABLED",       "Double-Byte Char Set enabled",
  58. SM_CMOUSEBUTTONS,     "SM_CMOUSEBUTTONS",     "Number of mouse buttons",
  59. SM_SHOWSOUNDS,        "SM_SHOWSOUNDS",        "Present sounds visually"
  60. } ;
  61.